const express = require("express");

const app = express();

const session = require("express-session");

app.use(
  session({
    secret: "key", //可自定义
    resave: false, //固定写法
    saveUninitialized: true, //固定写法
  })
);

app.listen(8080, () => {
  console.log("express server running at http://127.0.0.1:8080");
});
